home *** CD-ROM | disk | FTP | other *** search
/ GameStar 1999 Christmas / Gamestar_13_1999-XMAS_cd2.bin / MULTI / ahlbeta2_5.exe / action / map entity info.txt < prev    next >
Text File  |  1999-09-14  |  6KB  |  182 lines

  1. ===========================================
  2.  Action Half-Life map entity help 09/14/99
  3. ===========================================
  4.  Rough write up on changes to normal HL map entities and info on any new ones.
  5.  
  6.  
  7.  On Targetnames :
  8.   HL automatically checks for certain targets when a client dies, connects etc.
  9.     game_playerdie - fired by the player that died
  10.     game_playerkill - fired by the player the killed another player
  11.     game_playerleave - fired by a player when the disconnect from the server
  12.  
  13.     game_playerjoin - fired when a player when they first join a server?
  14.     game_playerspawn - fired when a player spawns?
  15.  
  16.  
  17. ================
  18. game_team_master
  19. ================
  20.  Changes :
  21.   teamindex <1-4>
  22.     There is no team at index 0 anymore.
  23.  
  24. ================
  25. game_team_set
  26. ================
  27.  Additions :
  28.   teamindex <1-4>
  29.     Ignore the activators team and just set it to the one at this index
  30.  
  31.  
  32. ================
  33. game_score
  34. ================
  35.  Info : As soon as you add one of these, normal teamplay takes a back seat to what ever you have planned. Normally, the round will end if only one team remains alive. Once this entity is added, that is no longer the case. If you add one of these, you must also add some game_text to say who won etc. The DLL will no longer do that for you.
  36.  
  37.  Changes : 
  38.     Will only awards points if the game is actually in progress.
  39.     If you intend to end the round with a 'game_roundend', 
  40.     award points at the same time.
  41.  
  42.  Additions :
  43.   teamindex <1-4>
  44.     Normally, a game_score with the 'TEAM SCORE' spawn flag will award points
  45.     to the team of the player that activates it. By setting 'teamindex', you can
  46.     override this. This is useful if you want to target it with a non-client,
  47.     or perhaps have a goal which can be 'accidently' done by another team
  48.     (such as killing themselves etc).
  49.  
  50.  
  51. ================
  52. game_text
  53. ================
  54.  Additions :
  55.   teamindex <1-4>
  56.     Send a message to everyone on this team (ONLY!)
  57.  
  58.  
  59. ================
  60. game_counter
  61. ================
  62.  Additions :
  63.   SF_GAMECOUNT_NOROUND - spawnflag 4
  64.     Normally, a game_counter will reset when the round does.
  65.     Setting this spawnflag tells it to be ignored
  66.  
  67.  
  68. // NEW ONES
  69. ================
  70. game_roundend
  71. ================
  72.  Ends the round in a gametype that supports round (Action Teamplay only really)
  73.  There is a slight delay before firing, allowing you to award points etc first.
  74.  
  75.  Variables :
  76.   wait <0.1+>
  77.     Delay before the round will try to restart.
  78.     Must be greater then 0 obviously
  79.     Defaults to 3.5 seconds
  80.  
  81. ================
  82. game_player_die
  83. ================
  84.  About the only real use of this is to check for the death of a team.
  85.  Everything else it does can be done by anything else really.
  86.     REMEMBER : set the targetname to 'game_playerdie'
  87.  
  88.  Spawnflags :
  89.   SF_WHOLE_TEAM 1
  90.     Will only fire if the activators entire team is dead
  91.  
  92.  
  93. ================
  94. info_team
  95. ================
  96.  These allow you to set the number of teams, a teams name, model, weapon choices etc.
  97.  It is important to remember one thing : the order you put them in.
  98.      eg. The first info_team you add will become the team at index 1
  99.          The second info_team you add will become the team at index 2
  100.         The third to team index3 etc
  101.  
  102.  It's really important for setting a teams ally.
  103.  
  104.  Action Half-Life only supports 4 teams at the moment.
  105.  So remember to only add four, eh?
  106.     
  107.  
  108.  Variables :
  109.   name <max 16 chars>
  110.     duh?
  111.  
  112.   model <max 16 chars>
  113.     hmm, I wonder...
  114.  
  115.   ally <1 - 4>
  116.     Makes this team consider the team at this index to be an 'ally'
  117.     That means it will show them as 'friendly' and consider them
  118.     as a team kill etc.
  119.     This is how you can make 'the hunted' type of scenarios and such.
  120.  
  121.   max_members <0-1, 1+>
  122.     0-1 : A percentage of the biggest other team
  123.         eg. If at 0.6, and the biggest team had 10 ppl, 
  124.             only 6 ppl could join this team.
  125.  
  126.     1+ : Max this amount of ppl may join this team
  127.         Useful for 'the hunted' type of scenarios.
  128.     
  129.   respawn <0-1, 1+>
  130.     0-1 : Wait until this percantage of the team is dead, then respawn
  131.     1+ : wait this many seconds before being able to respawn
  132.  
  133.   lives <-1+> - number of times someone on this team can die
  134.     -1 : Unlimited lives. Team members can respawn as much as they want
  135.     1+ : Each team member can respawn this many times before remaining dead
  136.  
  137.   weaponlist <bitvalue> - The weapon choices this team has
  138.     -1 : Anyone joining this team is considered a civie. 
  139.          They start with no weapons and can't pick em' up either.
  140.         -2 : Anyone joining this team will simply have no weapons at the start.
  141.          Might be useful for maps with added items (if that is allowed later)
  142.  
  143.     Weapon Choice BitValues :
  144.         Beretta     1
  145.         Anaconda    2
  146.         MP5k        4
  147.         Sniper Rifle    8
  148.         HandCannon    16
  149.         Shotgun        32
  150.         Knives        64
  151.         2nd Pistol    128
  152.  
  153.   itemlist <bitvalue> - The item choices this team has
  154.     Item Choice BitValues :
  155.         Vest        1
  156.         Laser Sight    2
  157.         StealthSlippers    4
  158.         Silencer    8
  159.         Bandolier    16
  160.         FlashLight    32
  161.  
  162.  
  163. // Other map entities
  164.  
  165. ================
  166. func_breakable
  167. ================
  168.  If it doesn't have a target or targetname, it will respawn in DM.
  169.  In teamplay, it will respawn no matter what when the round resets.
  170.  
  171. ================
  172. tigger_once
  173. ================
  174.  Will reset when the round does.
  175.  Definate on this one :)
  176.  
  177. ================================================================
  178.  func_door, trains, plats, buttons etc
  179. ================================================================
  180.  Most of these should reset when a round does.
  181.  I have tested lots of doors, plats, buttons etc, some trains and momentary buttons/doors.
  182.  They all seem to work fine. Had a problem with one door on Asylum2 for some reason (freezer)